package com.jk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

@SpringBootApplication//消费者 需要往注册中心找生产者
@EnableDiscoveryClient//可以往服务中心进行注册
@EnableFeignClients//调用服务中心的生产者
@MapperScan("com.jk.mapper")
public class WeblogBackApplication {

    public static void main(String[] args) {
        SpringApplication.run(WeblogBackApplication.class, args);
    }

}
